class CreateEvents < ActiveRecord::Migration
  def self.up
    create_table :events do |t|
      t.string :name
      t.string :photo_image
      t.string :description
      t.integer :rating
      t.boolean :rated
      t.integer :good_rating
      t.integer :bad_rating
	  t.references :users
      t.timestamps
    end
  end

  def self.down
    drop_table :events
  end
end
